package com.nantian.office.excel;

/**
 * <p>ClassName: FliedProperty</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright©2014</p>
 * <p>Company: 广州南天电脑系统有限公司</p>
 * <p>Date: 2020-01-19</p>
 *
 * @author 刘晓辉
 * @version 1.0
 */
public class FieldProperty {

    /**
     * 字段类型
     */
    Class fieldType;

    /**
     * field字段的名称
     */
    String fieldName;

    /**
     * 字段属性对应的get方法
     */
    private String fieldGetMethod;

    /**
     * 字段属性对应的set方法
     */
    private String fieldSetMethod;

    /**
     * 值
     */
    private Object value;

    /**
     * 是否有正则匹配
     */
    private String regular;
    /**
     * cell对应的下标
     */
    private int index;

    /**
     * 宽度
     */
    private int width;

    /**
     * 高度
     */
    private int height;

    /**
     * cell列名
     */
    private String title;

    /**
     * 是否允许为空.
     * 默认允许
     */
    private boolean empty;

    /**
     * 日期格式
     */
    private String dateFormate;

    public String getFieldGetMethod() {
        return fieldGetMethod;
    }

    public void setFieldGetMethod(String fieldGetMethod) {
        this.fieldGetMethod = fieldGetMethod;
    }

    public String getFieldSetMethod() {
        return fieldSetMethod;
    }

    public void setFieldSetMethod(String fieldSetMethod) {
        this.fieldSetMethod = fieldSetMethod;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getRegular() {
        return regular;
    }

    public void setRegular(String regular) {
        this.regular = regular;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isEmpty() {
        return empty;
    }

    public void setEmpty(boolean empty) {
        this.empty = empty;
    }

    public String getDateFormate() {
        return dateFormate;
    }

    public void setDateFormate(String dateFormate) {
        this.dateFormate = dateFormate;
    }

    public Class getFieldType() {
        return fieldType;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public void setFieldType(Class fieldType) {
        this.fieldType = fieldType;
    }
}
